package com.zuorenke.job.base;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author Z.R.K
 * @description
 * @create 2019-04-11 09:40:47
 **/
@Component
public class BaseJob {
	Logger logger = LoggerFactory.getLogger(BaseJob.class);
	
	@Scheduled(cron="0/10 * * * * ?")
	public void clearCache() {
		logger.info("baseJob print time");
	}
	
}
